package com.matt.domain.evaluating;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author diao.qiao@outlook.com
 * @version V1.0
 * @description: 评测结果对应的推荐课程列表
 * @since 2019-01-16
 */
@Data
@Entity
@Table(name = "recommend_course")
@EqualsAndHashCode(callSuper = true)
public class RecommendCourse extends Model {

    @Column(columnDefinition = " varchar(32) COMMENT '评测纪录id' ")
    private String evaluateRecordId;

    @Column(columnDefinition = " varchar(32) COMMENT '课程id，对应course表' ")
    private String courseId;

    @Column(columnDefinition = " int COMMENT '课程类型，1-SAT课程，2-主题课程，3-自建课程' ")
    private Integer type;
    @Column(columnDefinition = " varchar(32) COMMENT '核心技能：Q/Z/L' ")
    private String coreCompetence;

    @Column(columnDefinition = " varchar(32) COMMENT '课程目录' ")
    private String courseCategory;

    @Column(columnDefinition = " varchar(32) COMMENT '课程名称' ")
    private String courseName;

    @Column(columnDefinition = " varchar(32) COMMENT '完整技能表' ")
    private String integratedSkill;

    @Column(columnDefinition = " varchar(32) COMMENT '推荐原因' ")
    private String cause;

    @Column(columnDefinition = " int DEFAULT 0 COMMENT '优先级,数字越小，优先级越高' ")
    private Integer priorityLvl;

    @Column(columnDefinition = " bit DEFAULT 0 COMMENT '0-未选中，1-选中'")
    private Boolean picked = false;


}
